package br.com.maiscontrole.business.impl;

import org.springframework.mail.javamail.JavaMailSenderImpl;

import br.com.maiscontrole.business.MailService;
import br.com.maiscontrole.model.Usuario;

/**
 * 
 * @author Milton Domingues
 *
 */
public class MailServiceImpl implements MailService {

	private JavaMailSenderImpl mailSender;

	public MailServiceImpl(JavaMailSenderImpl mailSender) {
		this.mailSender = mailSender;
	}

	public JavaMailSenderImpl getMailSender() {
		return this.mailSender;
	}

	@Override
	public void sendMailTemplate() {

	}

	@Override
	public void sendMailText(String texto, Usuario usuario) {

	}

	public void setMailSender(JavaMailSenderImpl mailSender) {
		this.mailSender = mailSender;
	}

}
